Skip to content

Update bash scripts - #2899

Open
slycordinator wants to merge 2 commits into
sourcegit-org:developfrom
slycordinator:update_bash
Open

slycordinator wants to merge 2 commits into
sourcegit-org:developfrom
slycordinator:update_bash

Conversation

@slycordinator

Copy link
Copy Markdown

Consolidates/simplifies code

  • Replace multiple successive calls of same command into one call
  • change multiple references to files in same directory to one using {}
    cmd "$dir/file1"; cmd "$dir/file2"
    to
    cmd "$dir/{file1,file2}"
  • change ICU_VERSIONS to array and use simplify icu_deps creation with icu_deps+=" | libicu$v"

Consolidate code
* replace repeated calls to to same command to single call on multiple files/directories

* consolidate references to multiple files from same directory to $dir/{$file1,$file2}

* convert ICU_VERSIONS to array and simplify icu_deps to only new values to the end of the string with +=
consolidate rm commands to one call

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant